<template>
  <div id="app"
    v-loading="$store.state.loading.fullscreenLoading"
    :element-loading-text="$store.state.loading.title"
    element-loading-spinner="el-icon-loading"
    element-loading-background="rgba(0, 0, 0, 0.8)"
  >
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
  :root{
    --daybac:#fff;
    --nightBac:#2D3748;
  }
  *{
    margin: 0;
    padding: 0;
  }
  #app{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .el-loading-mask{
    z-index: 999999999999;
  }
</style>
